package com.aat.dxfy.files;

import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;

import com.aat.dxfy.utils.Atools;

public class FileTextSplit {

	public static void main(String[] args) throws Exception {
		File file = new File("E:\\Desktop\\en.txt");
		InputStream in = new FileInputStream(file);
		byte[] bs = new byte[1024*128];
		in.read(bs);
		String s = new String(bs);
		
		in.close();
		
		String ss = s.replaceAll("\\d+.", "\n");
		System.out.println(ss);
		Atools.writeS(ss, "utf-8", "E:\\Desktop\\enqq.txt");
	}

}
